package com.bj58.ecdata.mailreport.service.impl;

import java.util.List;

import com.bj58.ecdata.mailreport.db.CommonDao;
import com.bj58.ecdata.mailreport.db.DBConfig;
import com.bj58.ecdata.mailreport.model.IETemplateType;
import com.bj58.ecdata.mailreport.service.AbstractBaseService;

public class IETemplateTypeService extends AbstractBaseService<IETemplateType>{
	private CommonDao comDao = new CommonDao();
	
	public List<IETemplateType> getListByCon(String con) throws Exception {
		String sql = "select * from ie_templatetype where " + con ;
		return comDao.getAllColsByVo(sql, IETemplateType.class, DBConfig.db_manage.getIntType());
	}
	
}
